#ifndef SVPLOT_H
#define SVPLOT_H
#include <QWidget>
#include <vector>

class SvPlot : public QWidget
{
    Q_OBJECT

public:
  SvPlot(QWidget *parent = 0);
  void draw(QPainter* m_painter);
  void changePos(double x,double y, double xRel = 0, double yRel = 0);
protected:
  void paintEvent(QPaintEvent *event);
private:
  int m_centerX;
  int m_centerY;
  double m_maxRadius;
  double m_side;
  double m_x;
  double m_y;
  double m_relSatX;
  double m_relSatY;
  std::vector<double> m_xOld;
  std::vector<double> m_yOld;
  std::vector<double> m_relSatTraceX;
  std::vector<double> m_relSatTraceY;
  double m_tick;
};

#endif
